package com.qf.smsplatform.common.enums;

/**
 * projectName: smsplatform
 *
 * @author: MaTianWei
 * time: 2021/8/11 21:09
 * description:
 */

public enum SmsEnum {
    INTERFACE_PARAMETER_CLIENTID(101,"认证错误：clientId错误"),
    INTERFACE_PARAMETER_PWD(102,"密码错误"),
    INTERFACE_PARAMETER_MOBILE_EMPTY(105,"手机号错误，不能为空"),
    INTERFACE_PARAMETER_IP_ERROR(103,"IP校验错误"),
    INTERFACE_PARAMETER_CONTENT_ERROR(104,"消息长度错，为空或超长（目前定为500个字）"),
    INTERFACE_PARAMETER_SRCID_ERROR(106,"下行编号（srcID）错误"),
    ERROR(500,"出现错误！");



    private Integer code;

    private String msg;

    SmsEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
